public class Main {
    public static void main(String[] args) {
        String s1 = "abc";
        String s2 = "ab";
        String s3 = s2 + "c";
//        String s4 = "ab" + "c";
//        String s5 = "a" + "b" + "c";
//        String s6 = "a" + "bc";
//        String s4 = new String("abc");
        System.out.println(s1 == s3);
    }
}